package com.kongjs.common.mybatis.properties;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Slf4j
@Getter
@Setter
@ToString
@ConfigurationProperties(prefix = "mybatis-plus.plugin")
public class PluginProperties implements InitializingBean {
    private TenantProperties tenant;

    @Override
    public void afterPropertiesSet() throws Exception {
        log.info("load mybatis plugin config {}", this);
    }
}
